package com.yunxi.finance.pojo;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.yunxi.core.web.DateJsonDeserializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * Created by xuruzi on 2019/10/18.
 */
@Data
public class DynamicRebateCommissionQuerySumRespVO implements Serializable {

//    @ApiModelProperty(value = "动态返利编码")
//    private String dynamicId;

    @ApiModelProperty(value = "渠道商编码")
    private String partnerCode;

    @ApiModelProperty(value = "渠道商名称")
    private String partnerName;

//    @ApiModelProperty(value = "返利类型")
//    private Integer rabateType;
//    @DateTimeFormat(pattern = "yyyy-MM-dd")
//    @JsonDeserialize(using=DateJsonDeserializer.class)
//    @ApiModelProperty(value = "返利时间")
//    private Date rabateTime;

//    @ApiModelProperty(value = "审核状态，返利状态")
//    private Integer auditStatus;

    @ApiModelProperty(value = "返利名称")
    private String rabateName;

    @ApiModelProperty(value = "返利金额")
    private BigDecimal rabateAmount;

//    @ApiModelProperty(value = "备注")
//    private String memo;

//    @ApiModelProperty(value = "审批意见")
//    private String auditInfo;

//    @ApiModelProperty(value = "1固定返利2动态返利")
//    private Integer isDynamic;

    @JsonDeserialize(using=DateJsonDeserializer.class)
    @ApiModelProperty(value = "开始时间")
    private Date beginDate;

    @JsonDeserialize(using=DateJsonDeserializer.class)
    @ApiModelProperty(value = "结束时间")
    private Date endDate;
}
